package com.youlai.boot.modules.notice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.modules.notice.model.BfNotice;
import com.youlai.boot.modules.notice.model.BfNoticePageQuery;
import com.youlai.boot.modules.notice.model.BfNoticeVO;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BfNoticeMapper extends BaseMapper<BfNotice> {
    IPage<BfNoticeVO> getBfNoticePage(Page<BfNoticeVO> page, @Param("query") BfNoticePageQuery query);
}
